<?php
/**
 * 系統名稱: Lotto 系統
 * 檔案說明: 專案管理-修改
 * $Author$
 * $Id$
 *
 */
include_once("../../config.inc.php");

session_start();
$_LangPath = "";
$strTemplatePath = __Admintemplate_Path."/GameCenter/";
include(__Language_Path."/selectlanguage_admin.php");
include(__Common_Path."/SysParam.inc.php");
include_once(__Modules_Path."/LogRecord.lib.php");
include_once(__Modules_Path."/ChangeTime.lib.php");
include_once(__Modules_Path."/Gamble.lib.php");
include_once(__Common_Path."/Lotto.inc.php");
include_once(__Admin_Path."/logincheck.php");

$arrPower = CheckUsePower("gamecenter");
if($arrPower === false)ErrMsgOutputHTML("Error", "", 1);


include_once("WebConfig.php");
switch($_data["op"]){
	case "Redirect":
		include_once("Redirect.php");
		break;

	case "ResultItem":
		include_once("ResultItem.php");
		break;

	case "OpenOff":
		include_once(__DBConnect_File);
		include_once("OpenOff.php");
		break;

	case "AutoAdd":
		include_once(__DBConnect_File);
		include_once("AutoAdd.php");
		break;

	case "ListResult":
		include_once(__DBConnect_File);
		include_once("ListResult.php");
		break;

	case "CountResult":
		include_once(__DBConnect_File);
		include_once("CountResult.php");
		break;

	default:
		include_once("List.php");
		break;
}
@mysql_close($$_Conn);
?>